package com.me.mapper;

import java.util.List;

import com.me.pojo.Enhance;
import com.me.pojo.MyOrder;

public interface MyOrderMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MyOrder record);

    int insertSelective(MyOrder record);

    MyOrder selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MyOrder record);

    int updateByPrimaryKey(MyOrder record);
    
    List<Enhance> selectOrderByUserId(Integer userId);
    
    List<Enhance> selectOrder();
    
    Integer selectIdBycode(String code);
}